package com.xyht.sca_s.student_manage_system.modules.patrol.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.patrol.entity.SmsPatrolImage;
import com.xyht.sca_s.student_manage_system.modules.patrol.entity.vo.SmsPatrolImageVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-04-12
 */
public interface SmsPatrolImageService extends IService<SmsPatrolImage> {

    ResponseResult patrolImageAdd(MultipartFile file, String pic);

    ResponseResult deleteById(SmsPatrolImageVO smsPatrolImage);

    ResponseResult update(SmsPatrolImageVO smsPatrolImage);

    ResponseResult selectPatrolImage(String id);

    String showImage(int id);

    ResponseResult downloadFileManagement(String path, HttpServletResponse response);

    ResponseResult selectPatrolImageByPicType(String pic_type, Integer pageSize, Integer pageNum, String bg_date, String end_date);
}
